package com.singfan.core.dao.database.model;

import com.singfan.common.db.annotation.Primarykey;

import java.util.Date;

/**
 * 发型师token存储表（可根据barber_id来散表）
 * Author: hansonghe
 * Date: 2015-08-19 12:03
 * Desc:
 */
public class BarberToken {
    //美发师id
    @Primarykey
    private long barberId;
    //身份验证签名
    private String accessToken;
    //所在城市的id
    private int cityId;
    //
    private int status;
    //token的创建时间
    private Date tokenCreateTime;

    public long getBarberId() {
        return barberId;
    }

    public void setBarberId(long barberId) {
        this.barberId = barberId;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public Date getTokenCreateTime() {
        return tokenCreateTime;
    }

    public void setTokenCreateTime(Date tokenCreateTime) {
        this.tokenCreateTime = tokenCreateTime;
    }
}
